//
//  AEProductListRequest.m
//  AESOLAR_IOS
//
//  Created by Bin Tang on 2024/10/28.
//  Copyright © 2024 Mr.Wang. All rights reserved.
//

#import "AEProductListRequest.h"
#import "AE_Solar-Swift.h"

@interface AEProductListRequest ()

@end

@implementation AEProductListRequest

- (instancetype)init {
    if (self = [super init]) {
        
    }
    return self;
}

- (NSString *)requestUrl {
    return kAPP_PRODUCT_GET_INFOS;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodPOST;
}

- (id)requestArgument {
    NSDictionary *params = @{};
    NSString *json = [params yy_modelToJSONString];
    NSString *aesStr = [AESCrypt AES128Encrypt:json key:[AEUserCommonInfo getAesKey]];
    return @{@"requestData": aesStr};
}

- (Class)rspClass {
    return [WDBaseRspModel class];
}

- (Class)recordsRspClass {
    return [AEProductInfoModel class];
}

@end
